package com.ssm.pre.service;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.ssm.util.object.InputObject;
import com.ssm.util.object.OutputObject;

public interface RepairService {
	// 查询故障类型列表
	public void queryRepairList(InputObject inputObject, OutputObject outputObject) throws Exception;

	// 新增故障类型列表
	public void addRepair(InputObject inputObject, OutputObject outputObject) throws Exception;

	// 修改故障类型列表
	public void editRepair(InputObject inputObject, OutputObject outputObject) throws Exception;

	// 删除故障类型列表
	public void deleteRepairById(InputObject inputObject, OutputObject outputObject) throws Exception;
	
	public void findRepairById(InputObject inputObject, OutputObject outputObject) throws Exception;
	
	public void queryRoomNumByOneSelect(InputObject inputObject, OutputObject outputObject) throws Exception;
	
	// 新增报修单
	public void addWechatRepair(InputObject inputObject, OutputObject outputObject) throws Exception;

	public void addWechatImg(InputObject inputObject, OutputObject outputObject, CommonsMultipartFile files)throws Exception;
	
	//根据faultId查询故障详情
	public void queryinfoNameByfaultId(InputObject inputObject, OutputObject outputObject)throws Exception;
	
	//查询故障类型下拉列表
	public void queryfaultNameList(InputObject inputObject, OutputObject outputObject)throws Exception;
	
	//查询维修人员下拉列表
	public void queryserviceManNameByfaultName(InputObject inputObject, OutputObject outputObject)throws Exception;

	//查询报修记录
	public void queryrepairRecord(InputObject inputObject, OutputObject outputObject)throws Exception;

}
